home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 1999 #1
/
Amiga Plus 1999 #1.iso
/
System-Boost
/
Workbench
/
BackClock
/
sources
/
conf.h
< prev
next >
Wrap
C/C++ Source or Header
|
1998-08-10
|
638b
|
25 lines
/* entete: conf.h version 1.1 31-05-98
*/
#define CF_NAMEENV "env:backclock.prefs"
#define CF_NAMEENVARC "envarc:backclock.prefs"
#define ERR_ENV "File error %ld on ENV:backclock.prefs"
#define ERR_ENVARC "File error %ld on ENVARC:backclock.prefs"
struct ConfFile {
UBYTE id[4] ; // BACK
UWORD posX,
posY,
lenX,
lenY ;
struct RGB cmap[NUM_COLORS] ;
UWORD fill ; // fill or transparent
} ;
// prepare the file to be saved
BOOL SaveConf(idWin * prj, UBYTE *) ;
BOOL LoadConf(idWin * prj) ;
// save prefs file to env (and to envarc)
void SaveEnv(idWin * prj, BOOL envarc) ;